import request from "@/utils/request";

// 查询土的承载比(CBR)记录三列表
export function listTgTdczbjlbsBsInfo(query) {
  return request({
    url: "/report_tg/tgTdczbjlbsBsInfo/list",
    method: "get",
    params: query
  });
}

// 查询土的承载比(CBR)记录三详细
export function getTgTdczbjlbsBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTdczbjlbsBsInfo/" + excelId,
    method: "get"
  });
}

// 计算土的承载比(CBR)记录三
export function computeTgTdczbjlbsBsInfo(data) {
  return request({
    url: "/report_tg/tgTdczbjlbsBsInfo/compute",
    method: "put",
    data: data,
    notInterval: true
  });
}

// 新增土的承载比(CBR)记录三
export function addTgTdczbjlbsBsInfo(data) {
  return request({
    url: "/report_tg/tgTdczbjlbsBsInfo",
    method: "post",
    data: data
  });
}

// 修改土的承载比(CBR)记录三
export function updateTgTdczbjlbsBsInfo(data) {
  return request({
    url: "/report_tg/tgTdczbjlbsBsInfo",
    method: "put",
    data: data
  });
}

// 删除土的承载比(CBR)记录三
export function delTgTdczbjlbsBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTdczbjlbsBsInfo/" + excelId,
    method: "delete"
  });
}
